#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :

class Dog:
    def bark(self):
        print('狗汪汪叫...')


class Hashiqi(Dog):
    def bark(self):
        print('哈士奇汪汪叫...')


class Zangao(Dog):
    pass


class Person:
    def __init__(self, name):
        self.name =  name

    def pk_dog(self, dog):
        print(f'{self.name}正在打来福...')
        dog.bark()


person = Person('张三')

hashiqi = Hashiqi()
hashiqi.bark()

zangao = Zangao()
zangao.bark()

person.pk_dog(hashiqi)
